<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ADMINISTRATOR PANEL</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<{if $isOnlineUserPage == 1}>
<meta http-equiv="Refresh" content="900; url='<{$APPLICATION_URL}>/Admin/Index/onlineusers'">
<{/if}>
<link rel="shortcut icon" href="<{$APPLICATION_URL}>/Themes/Default/Images/favicon.ico">
<link rel="icon" href="<{$APPLICATION_URL}>/Themes/Default/Images/favicon.ico">
<!--=========Stylesheets=========-->
<link href="<{$APPLICATION_URL}>/Themes/Default/Styles/admin/style.css" rel="stylesheet" type="text/css"/>
<link href="<{$APPLICATION_URL}>/Themes/Default/Styles/admin/green.css" rel="stylesheet" type="text/css"/>
<link href="<{$APPLICATION_URL}>/Themes/Default/Styles/admin/invalid.css" rel="stylesheet" type="text/css"/>
<link href="<{$APPLICATION_URL}>/Themes/Default/Styles/admin/featuretable.css" rel="stylesheet" type="text/css"/>

<!--[if lt IE 8]>
	<link href="<{$APPLICATION_URL}>/Themes/Default/Styles/admin/ie.css" rel="stylesheet" type="text/css"/>
<![endif]-->
<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/admin/jquery.date_input.js"></script>
<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/admin/featuretable.js"></script>
<script type="text/javascript" language="javascript" src="<{$APPLICATION_URL}>/Libraries/Javascript/CheckUtils.js"></script>

<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/jquery-ui-1.7.1.min.js"></script>
<link href="<{$APPLICATION_URL}>/Themes/Default/Styles/jqueryui/jquery-ui-1.7.1.css" rel="stylesheet" type="text/css"/>

<!--<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/jquery-1.3.2.js"></script>-->
<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/swfupload/swfupload.js"></script>
<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/jquery.swfupload.js"></script>

<script type='text/javascript'
	src='<{$APPLICATION_URL}>/Themes/Default/Scripts/fancybox/jquery.fancybox-1.3.4.pack.js'></script>
<link type='text/css' href='<{$APPLICATION_URL}>/Themes/Default/Styles/fancybox/box.css'
      rel='stylesheet'></link>
<link href="<{$APPLICATION_URL}>/Themes/Default/Styles/admin/date_input.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
$($.date_input.initialize);
$.extend(DateInput.DEFAULT_OPTS, {
	  stringToDate: function(string) {
	    var matches;
	    if (matches = string.match(/^(\d{4,4})-(\d{2,2})-(\d{2,2})$/)) {
	      return new Date(matches[1], matches[2] - 1, matches[3]);
	    } else {
	      return null;
	    };
	  },
	  
	  dateToString: function(date) {
	    var month = (date.getMonth() + 1).toString();
	    var dom = date.getDate().toString();
	    if (month.length == 1) month = "0" + month;
	    if (dom.length == 1) dom = "0" + dom;
	    return date.getFullYear() + "-" + month + "-" + dom;
	  }
	});
	$(document).ready(function(){
		$('.date').datepicker({dateFormat: 'yy-mm-dd'});
	 // $(".date").date_input();
	});
</script>
</head>
<body id='<{$pageName}>'>
<div id="header_bg">
<{include file="$SMARTY_LAYOUT_PATH/Admin/Header.tpl"}>
</div>

<!--============================ Template Content Background ============================-->
<div id="content_bg" class="clearfix">
	<!--============================ Main Content Area ============================-->
	<div class="content wrapper clearfix">
		<!--============================Sidebar============================-->		
		<div class="sidebar">
			<{include file="$SMARTY_LAYOUT_PATH/Admin/RightMenu.tpl"}>
		</div>		
		<!--End sidebar-->
	<!--============================Main Column============================-->
	<div class="main_column">
		<{if $isError == true}>
			<div class="error">
				<img src="<{$APPLICATION_URL}>/Themes/Default/Images/error_icon.png" alt="Information" width="28" height="29" class="icon" /> <{$msg}> <a href="#" class="close_notification" title="Click to Close"><img src="<{$APPLICATION_URL}>/Themes/Default/Images/close_icon.gif" width="6" height="6" alt="Close" /></a>
			</div>
		<{elseif $error != ""}>
			<div class="info">
				<img src="<{$APPLICATION_URL}>/Themes/Default/Images/iinfo_icon.png" alt="Information" width="28" height="29" class="icon" /> <{$error}> <a href="#" class="close_notification" title="Click to Close"><img src="<{$APPLICATION_URL}>/Themes/Default/Images/close_icon.gif" width="6" height="6" alt="Close" /></a>
			</div>
		<{/if}>		
		<{include file="$SMARTY_CONTENT_PATH"}>
	</div>
</div>

<!--============================Modal============================-->
<div id="facebox"> 
	<div> 
		<h2>Modal Window</h2> 
		<p>This dialog is opened programmatically when the page loads. There is no need for a trigger element.</p> 
		<p>To close, click the Close button or hit the ESC key.</p> 
		<hr />
		<p class="tar"><button class=" button"> Close </button></p> <!-- Close class on any element inside the modal box will close the modal. -->
	</div> 
</div>
<!--End Modal-->


<!--=========jQuery and jQuery Tools		-->
<!-- <script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/admin/jquery.tools.min1.js"></script> <!--Import jquery library and jquery tools from a single file-->

<!--=========Preload script for css and images=========-->
<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/admin/preloadCssImages.jQuery_v5.js"></script>
            
<!--=========Scripts=========-->
<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/admin/script.js"></script>
            
<!--=========Date picker=========-->
<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/admin/jCal.js"></script>
<!--
<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/jquery.animate.clip.js"></script>
-->
            
            
<!--=========Visualize for charting=========-->
<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/admin/visualize.jQuery.js"></script>
<!--[if IE]><script language="javascript" type="text/javascript" src="js/excanvas.min.js"></script><![endif]-->
            

<!--=========wysiwyg editor=========-->
<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/admin/jquery.wysiwyg.js"></script>
            

<!--=========jExpand for Expanding Tables=========-->
<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/admin/jExpand.js"></script>
            

<!--=========Data Tables=========-->
<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/admin/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/admin/TableTools.min.js"></script>
<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/Default/Scripts/admin/ZeroClipboard.js"></script>
</body>
</html>